﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VitCode.Castle.Helper;
using VitCode.Web.UI;
using VitCode.Web.UI.WebControls;

namespace CRS.Web.BaseData
{
    public partial class GoodsTypeList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");
            if(!IsPostBack)
            {
                
            }
        }

        protected void btnQuery_Click(object sender, EventArgs e)
        {
            ObjList.QueryCondition = ObjQueryCondition.GetQueryCoditionString();
            ObjList.BindData();
        }

        protected void btnAdd_Click(object sender, EventArgs e)
        {
            Alert.MessageBox(ObjList.GetSelectKeyVal());
        }
    }
}
